<!DOCTYPE html>
<html>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">类型</label>
	    <div class="layui-input-block">
	      <input type="radio" name="type" value="0" title="目录" >
	      <input type="radio" name="type" value="1" title="菜单" checked>
	      <input type="radio" name="type" value="2" title="按钮" >
	    </div>
		
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label"><i>*</i>菜单名称</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input " name="name" lay-verify="required"  placeholder="请输入菜单名称">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label"><i>*</i>上级菜单</label>
		<div class="layui-input-block">
			<input type="hidden" class="layui-input parentId" name="parentId">
			<input type="hidden" class="layui-input parentName" name="parentName">
			<input type="text" class="layui-input" id="menu-tree" lay-filter="menu-tree"   placeholder="请输入上级菜单">
		</div>
	</div>
	<div id="menu_select" >
			<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">菜单URL</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input "  name="url"  placeholder="请输入菜单URL">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">授权标识</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" name="perms"  placeholder="请输入授权标识">
			</div>
		</div>
	</div>
	
	<div class="layui-form-item layui-row layui-col-xs12 sort">
		<label class="layui-form-label">排序</label>
		 <div class="layui-input-block">
		 <input type="number" class="layui-input" name="orderNum" value="0"  min="0">
    	</div>
		
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">图标</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input "  name="icon" placeholder="请选择图标">
		</div>
	</div>
		
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn" lay-submit="" lay-filter="addMenu">立即添加</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="${request.contextPath}/static/js/modules/sys/menuAdd.js"></script>
</body>
</html>